﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DTO;
using DAO;
using System.Data;

namespace BUS
{
    public class khachhang_BUS
    {
        public static DataSet loadthongtinkhlist()
        {
            return khachhang_DAO.loadthongtinkhlist();
        }
        public static DataSet automakh()
        {
            return khachhang_DAO.automakh();
        }
        public static bool themkhvaop(khachhang_DTO kh, phong_DTO p)
        {
            return khachhang_DAO.themkhvaop(kh,p);
        }
        public static DataSet timkiemkhachhang(khachhang_DTO kh)
        {
            return khachhang_DAO.timkiemkhachhang(kh);
        }
        public static DataSet timkiemkhachhangtheoten(khachhang_DTO kh)
        {
            return khachhang_DAO.timkiemkhachhangtheoten(kh);
        }
        public static DataSet laythongtinkh()
        {
            return khachhang_DAO.laythongtinkh();
        }
        public static bool themkh(khachhang_DTO kh)
        {
            return khachhang_DAO.themkh(kh);
        }
        public static bool xoakh(khachhang_DTO kh,phong_DTO p)
        {
            return khachhang_DAO.xoakh(kh,p);
        }
        public static bool suakh(khachhang_DTO kh)
        {
            return khachhang_DAO.suakh(kh);
        }
    }
}
